import {observable, action,makeObservable} from 'mobx';

export default class PersonalStore {

    constructor(root){
        this.root = root;
        makeObservable(this,{
            num:observable,
            add:action,
        })
    }

    num = 10;

    add(){
        this.num++;
    }

}